// Lab 3: EmployeeTest.cpp
// Create and manipulate two Employee objects.
#include <iostream>
using std::cout;
using std::endl;

#include "Employee.h" // include definition of class Employee

// function main begins program execution
int main()
{
	/* Create two Employee objects and assign them to Employee variables. */
	Employee Employee1("Bob","Jones",2875);
	Employee Employee2("Susan","Baker",3150);
	/* Output the first name, last name and salary for each Employee. */
	cout << "Employee 1: " << Employee1.getEmployeeFirstName() << " " << Employee1.getEmployeeLastName() << ";" << "Yearly Salary: " << Employee1.getEmployeeMonthlySalary() << endl;
	cout << "Employee 1: " << Employee2.getEmployeeFirstName() << " " << Employee2.getEmployeeLastName() << ";" << "Yearly Salary: " << Employee2.getEmployeeMonthlySalary() << endl;
	/* Give each Employee a 10% raise. */
	cout << endl;
	cout << "Increasing employee salaries by 10%" << endl;
	Employee1.setEmployeeMonthlySalary();
	Employee2.setEmployeeMonthlySalary();
	/* Output the first name, last name and salary of each Employee again. */
	cout << "Employee 1: " << Employee1.getEmployeeFirstName() << " " << Employee1.getEmployeeLastName() << ";" << "Yearly Salary: " << Employee1.getEmployeeMonthlySalary() << endl;
	cout << "Employee 1: " << Employee2.getEmployeeFirstName() << " " << Employee2.getEmployeeLastName() << ";" << "Yearly Salary: " << Employee2.getEmployeeMonthlySalary() << endl;
	return 0; // indicate successful termination
} // end main



